// 该文件用于创建路由实例，是路由的主配置文件
import { createRouter,createWebHashHistory } from "vue-router";

import staticRoutes from './router-static.js';
import asyncRoutes from './routes-async.js';

const router = createRouter({
    history:createWebHashHistory(),
    routes:[...staticRoutes, ...asyncRoutes],
})

// 导出router
export default router;